home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _EFE10EA8007648B18E8BAECD5B0FBAC0 < prev    next >
Encoding:
Text File  |  2002-04-09  |  13.5 KB  |  704 lines

  1. {
  2.     menuDef 
  3.     {
  4.         name            "ingame_outfitting"
  5.         visible            0
  6.         fullScreen        0
  7.         rect            0 0 640 480
  8.         focusColor        1 .75 0 1
  9.         disablecolor    .12 .14 .08 .5
  10.  
  11.         onopen
  12.         {
  13.             uiScript    "LoadOutfittings" ;
  14.             uiScript    "DecompressOutfitting" ;
  15.         }
  16.  
  17.         onclose
  18.         {
  19.         }
  20.  
  21.         ////////////////////////////////////////////////////////////////////////
  22.         //  Dialog frame
  23.         ////////////////////////////////////////////////////////////////////////
  24.  
  25.         itemDef
  26.         {
  27.             name        window
  28.             style        WINDOW_STYLE_SHADER
  29.             rect        130 70 380 350
  30.             background    "gfx/menus/ingame/background.png"
  31.             backcolor    1 1 1 1
  32.             visible        1
  33.             decoration
  34.         }
  35.  
  36.         itemDef
  37.         {
  38.             name        window
  39.             style        WINDOW_STYLE_SHADER
  40.             rect        124 65 8 8
  41.             background    "gfx/menus/ingame/frame_topleft.png"
  42.             visible        1
  43.             decoration
  44.         }
  45.  
  46.         itemDef
  47.         {
  48.             name        window
  49.             style        WINDOW_STYLE_SHADER
  50.             rect        130 65 380 8
  51.             background    "gfx/menus/ingame/frame_top.png"
  52.             visible        1
  53.             decoration
  54.         }
  55.  
  56.         itemDef
  57.         {
  58.             name        window
  59.             style        WINDOW_STYLE_SHADER
  60.             rect        510 65 8 8
  61.             background    "gfx/menus/ingame/frame_topright.png"
  62.             visible        1
  63.             decoration
  64.         }
  65.  
  66.         itemDef
  67.         {
  68.             name        window
  69.             style        WINDOW_STYLE_SHADER
  70.             rect        124 420 8 8
  71.             background    "gfx/menus/ingame/frame_bottomleft.png"
  72.             visible        1
  73.             decoration
  74.         }
  75.  
  76.         itemDef
  77.         {
  78.             name        window
  79.             style        WINDOW_STYLE_SHADER
  80.             rect        130 420 380 8
  81.             background    "gfx/menus/ingame/frame_bottom.png"
  82.             visible        1
  83.             decoration
  84.         }
  85.  
  86.         itemDef
  87.         {
  88.             name        window
  89.             style        WINDOW_STYLE_SHADER
  90.             rect        510 420 8 8
  91.             background    "gfx/menus/ingame/frame_bottomright.png"
  92.             visible        1
  93.             decoration
  94.         }
  95.  
  96.         itemDef
  97.         {
  98.             name        window
  99.             style        WINDOW_STYLE_SHADER
  100.             rect        510 70 8 350
  101.             background    "gfx/menus/ingame/frame_right.png"
  102.             visible        1
  103.             decoration
  104.         }
  105.  
  106.         itemDef
  107.         {
  108.             name        window
  109.             style        WINDOW_STYLE_SHADER
  110.             rect        124 70 8 350
  111.             background    "gfx/menus/ingame/frame_left.png"
  112.             visible        1
  113.             decoration
  114.         }
  115.  
  116.         ////////////////////////////////////////////////////////////////////////
  117.         //  Title
  118.         ////////////////////////////////////////////////////////////////////////
  119.         itemDef
  120.         {
  121.             style        WINDOW_STYLE_FILLED
  122.             rect        130 70 378 30
  123.             forecolor    0 0 0 1
  124.             backcolor    0 0 0 .25
  125.             visible        1
  126.             border        1
  127.             bordercolor    0 0 0 1
  128.  
  129.             textalignx    190
  130.             textaligny    5
  131.             textalign    1
  132.             textfont    "hud"
  133.             textscale    .53
  134.             text        "SELECT OUTFITTING"
  135.         }
  136.  
  137.         ///////////////////////////////////////////////////////////////////////
  138.         // SLOT #1
  139.         ///////////////////////////////////////////////////////////////////////
  140.  
  141.         itemDef
  142.         {
  143.             name            slot1_glow
  144.             type            ITEM_TYPE_BUTTON
  145.             style            WINDOW_STYLE_FILLED
  146.             rect            144 185 171 87
  147.             visible            1
  148.                             
  149.             hotkey            "1"
  150.  
  151.             textfont        "hud"
  152.             textscale        .35
  153.             text            "1. PRIMARY"
  154.             textaligny        2
  155.             textalignx        2
  156.                             
  157.             forecolor        0 0 0 1
  158.             backcolor        0 0 0 0
  159.                             
  160.             border            1
  161.             bordercolor        0 0 0 1
  162.  
  163.             ownerdraw        UI_OUTFITTING_SLOT
  164.             ownerdrawparam    OUTFITTING_GROUP_PRIMARY
  165.  
  166.             mouseEnter
  167.             {
  168.                 play "sound/misc/menus/hilite1.wav" ; 
  169.  
  170.                 setitemcolor slot1_glow  backcolor .12 .14 .08 1;
  171.                 setitemcolor slot1_glow  forecolor .49 .56 .27 1;
  172.             }
  173.  
  174.             mouseExit
  175.             {
  176.                 setitemcolor slot1_glow backcolor    0 0 0 0 ;
  177.                 setitemcolor slot1_glow forecolor    0 0 0 1 ;
  178.             }
  179.  
  180.             action
  181.             {
  182.                 play        "sound/misc/menus/select.wav" ; 
  183.             }
  184.         }
  185.  
  186.         itemDef
  187.         {
  188.             rect            145    200    170    70
  189.             forecolor        0 0 0 1
  190.             visible            1
  191.             ownerdraw        UI_OUTFITTING_SLOT_BACKGROUND
  192.             ownerdrawparam    OUTFITTING_GROUP_PRIMARY
  193.             decoration        
  194.         }
  195.  
  196.         itemDef
  197.         {
  198.             rect            180 200 110 55
  199.             ownerdraw        UI_OUTFITTING_SLOT_RENDER
  200.             ownerdrawparam    OUTFITTING_GROUP_PRIMARY
  201.             visible            1
  202.             decoration
  203.         }
  204.  
  205.         itemDef
  206.         {
  207.             name            slot1_text
  208.             rect            313 259 0 15
  209.             ownerdraw        UI_OUTFITTING_SLOT_NAME
  210.             ownerdrawparam    OUTFITTING_GROUP_PRIMARY
  211.             forecolor        .7 .7 .7 1
  212.             textalign        2
  213.             textfont        "hud"
  214.             textscale        .35
  215.             visible            1
  216.             decoration
  217.         }
  218.  
  219.         ///////////////////////////////////////////////////////////////////////
  220.         // SLOT #2
  221.         ///////////////////////////////////////////////////////////////////////
  222.  
  223.         itemDef
  224.         {
  225.             name        slot4_glow
  226.             type        ITEM_TYPE_BUTTON
  227.             style        WINDOW_STYLE_FILLED
  228.             rect        323 185 171 87
  229.             visible        1
  230.             backcolor    0 0 0 0
  231.  
  232.             hotkey        "2"
  233.  
  234.             textfont    "hud"
  235.             textscale    .35
  236.             text        "2. SECONDARY"
  237.             textaligny    2
  238.             textalignx    2
  239.  
  240.             forecolor    0 0 0 1
  241.             backcolor    0 0 0 0
  242.  
  243.             border        1
  244.             bordercolor    0 0 0 1
  245.  
  246.             ownerdraw        UI_OUTFITTING_SLOT
  247.             ownerdrawparam    OUTFITTING_GROUP_SECONDARY
  248.  
  249.  
  250.             mouseEnter
  251.             {
  252.                 play "sound/misc/menus/hilite1.wav" ; 
  253.  
  254.                 setitemcolor slot4_glow  backcolor .12 .14 .08 1;
  255.                 setitemcolor slot4_glow  forecolor .49 .56 .27 1;
  256.             }
  257.  
  258.             mouseExit
  259.             {
  260.                 setitemcolor slot4_glow backcolor    0 0 0 0 ;
  261.                 setitemcolor slot4_glow forecolor    0 0 0 1 ;
  262.             }
  263.  
  264.             action
  265.             {
  266.                 play "sound/misc/menus/select.wav" ; 
  267.             }
  268.         }
  269.  
  270.         itemDef
  271.         {
  272.             rect            325    200    170    70
  273.             forecolor        0 0 0 1
  274.             visible            1
  275.             ownerdraw        UI_OUTFITTING_SLOT_BACKGROUND
  276.             ownerdrawparam    OUTFITTING_GROUP_SECONDARY
  277.             decoration
  278.         }
  279.  
  280.         itemDef
  281.         {
  282.             rect            360 200 110 55
  283.             ownerdraw        UI_OUTFITTING_SLOT_RENDER
  284.             ownerdrawparam    OUTFITTING_GROUP_SECONDARY
  285.             forecolor        1 1 1 1
  286.             visible            1
  287.             decoration
  288.         }
  289.  
  290.         itemDef
  291.         {
  292.             name            slot3_text
  293.             rect            492 259 0 15
  294.             ownerdraw        UI_OUTFITTING_SLOT_NAME
  295.             ownerdrawparam    OUTFITTING_GROUP_SECONDARY
  296.             forecolor        .7 .7 .7 1
  297.             textalign        2
  298.             textfont        "hud"
  299.             textscale        .35
  300.             visible            1
  301.             decoration
  302.         }
  303.  
  304.         ///////////////////////////////////////////////////////////////////////
  305.         // SLOT #3
  306.         ///////////////////////////////////////////////////////////////////////
  307.  
  308.         itemDef
  309.         {
  310.             name        slot2_glow
  311.             type        ITEM_TYPE_BUTTON
  312.             style        WINDOW_STYLE_FILLED
  313.             rect        144 280 111 87
  314.             visible        1
  315.             backcolor    0 0 0 .5
  316.  
  317.             hotkey        "3"
  318.  
  319.             textfont    "hud"
  320.             textscale    .35
  321.             text        "3. PISTOL"
  322.             textaligny    2
  323.             textalignx    2
  324.  
  325.             forecolor    0 0 0 1
  326.             backcolor    0 0 0 0
  327.  
  328.             border        1
  329.             bordercolor    0 0 0 1
  330.  
  331.             ownerdraw        UI_OUTFITTING_SLOT
  332.             ownerdrawparam    OUTFITTING_GROUP_PISTOL
  333.  
  334.             mouseEnter
  335.             {
  336.                 play "sound/misc/menus/hilite1.wav" ; 
  337.  
  338.                 setitemcolor slot2_glow  backcolor .12 .14 .08 1;
  339.                 setitemcolor slot2_glow  forecolor .49 .56 .27 1;
  340.             }
  341.  
  342.             mouseExit
  343.             {
  344.                 setitemcolor slot2_glow backcolor    0 0 0 0 ;
  345.                 setitemcolor slot2_glow forecolor    0 0 0 1 ;
  346.             }
  347.  
  348.             action
  349.             {
  350.                 play "sound/misc/menus/select.wav" ; 
  351.             }
  352.         }
  353.  
  354.         itemDef
  355.         {
  356.             rect            145    295    110    70
  357.             forecolor        0 0 0 1
  358.             visible            1
  359.             ownerdraw        UI_OUTFITTING_SLOT_BACKGROUND
  360.             ownerdrawparam    OUTFITTING_GROUP_PISTOL
  361.             decoration
  362.         }
  363.  
  364.         itemDef
  365.         {
  366.             rect            145 300 110 55
  367.             ownerdraw        UI_OUTFITTING_SLOT_RENDER
  368.             ownerdrawparam    OUTFITTING_GROUP_PISTOL
  369.             forecolor        1 1 1 1
  370.             visible            1
  371.             decoration
  372.         }
  373.  
  374.         itemDef
  375.         {
  376.             name            slot2_text
  377.             rect            253 354 0 15
  378.             ownerdraw        UI_OUTFITTING_SLOT_NAME
  379.             ownerdrawparam    OUTFITTING_GROUP_PISTOL
  380.             forecolor        .7 .7 .7 1
  381.             textalign        2
  382.             textfont        "hud"
  383.             textscale        .35
  384.             visible            1
  385.             decoration
  386.         }
  387.  
  388.         ///////////////////////////////////////////////////////////////////////
  389.         // SLOT #4
  390.         ///////////////////////////////////////////////////////////////////////
  391.  
  392.         itemDef
  393.         {
  394.             name        slot5_glow
  395.             type        ITEM_TYPE_BUTTON
  396.             style        WINDOW_STYLE_FILLED
  397.             rect        263 280 111 87
  398.             visible        1
  399.             backcolor    0 0 0 0
  400.  
  401.             hotkey        "4"
  402.  
  403.             textfont    "hud"
  404.             textscale    .35
  405.             text        "4. GRENADE"
  406.             textaligny    2
  407.             textalignx    2
  408.  
  409.             forecolor    0 0 0 1
  410.             backcolor    0 0 0 0
  411.  
  412.             border        1
  413.             bordercolor    0 0 0 1
  414.  
  415.             ownerdraw        UI_OUTFITTING_SLOT
  416.             ownerdrawparam    OUTFITTING_GROUP_GRENADE
  417.  
  418.             mouseEnter
  419.             {
  420.                 play "sound/misc/menus/hilite1.wav" ; 
  421.  
  422.                 setitemcolor slot5_glow  backcolor .12 .14 .08 1;
  423.                 setitemcolor slot5_glow  forecolor .49 .56 .27 1;
  424.             }
  425.  
  426.             mouseExit
  427.             {
  428.                 setitemcolor slot5_glow backcolor    0 0 0 0 ;
  429.                 setitemcolor slot5_glow forecolor    0 0 0 1 ;
  430.             }
  431.  
  432.             action
  433.             {
  434.                 play "sound/misc/menus/select.wav" ; 
  435.             }
  436.         }
  437.  
  438.         itemDef
  439.         {
  440.             rect            265    295    110    70
  441.             forecolor        0 0 0 1
  442.             visible            1
  443.             ownerdraw        UI_OUTFITTING_SLOT_BACKGROUND
  444.             ownerdrawparam    OUTFITTING_GROUP_GRENADE
  445.             decoration
  446.         }
  447.  
  448.         itemDef
  449.         {
  450.             rect            265 295 110 55
  451.             ownerdraw        UI_OUTFITTING_SLOT_RENDER
  452.             ownerdrawparam    OUTFITTING_GROUP_GRENADE
  453.             forecolor        1 1 1 1
  454.             visible            1
  455.             decoration
  456.         }
  457.  
  458.         itemDef
  459.         {
  460.             name            slot5_text
  461.             rect            372 354 0 15
  462.             ownerdraw        UI_OUTFITTING_SLOT_NAME
  463.             ownerdrawparam    OUTFITTING_GROUP_GRENADE
  464.             forecolor        .7 .7 .7 1
  465.             textalign        2
  466.             textfont        "hud"
  467.             textscale        .35
  468.             visible            1
  469.             decoration
  470.         }
  471.  
  472.         ///////////////////////////////////////////////////////////////////////
  473.         // SLOT #5
  474.         ///////////////////////////////////////////////////////////////////////
  475.  
  476.         itemDef
  477.         {
  478.             name        slot6_glow
  479.             type        ITEM_TYPE_BUTTON
  480.             style        WINDOW_STYLE_FILLED
  481.             rect        383 280 111 87
  482.             visible        1
  483.             backcolor    0 0 0 0
  484.  
  485.             hotkey        "5"
  486.  
  487.             textfont    "hud"
  488.             textscale    .35
  489.             text        "5. ACCESSORY"
  490.             textaligny    2
  491.             textalignx    2
  492.  
  493.             forecolor    0 0 0 1
  494.             backcolor    0 0 0 0
  495.  
  496.             border        1
  497.             bordercolor    0 0 0 1
  498.  
  499.             ownerdraw        UI_OUTFITTING_SLOT
  500.             ownerdrawparam    OUTFITTING_GROUP_ACCESSORY
  501.  
  502.             mouseEnter
  503.             {
  504.                 play "sound/misc/menus/hilite1.wav" ; 
  505.  
  506.                 setitemcolor slot6_glow  backcolor .12 .14 .08 1;
  507.                 setitemcolor slot6_glow  forecolor .49 .56 .27 1;
  508.             }
  509.  
  510.             mouseExit
  511.             {
  512.                 setitemcolor slot6_glow backcolor    0 0 0 0 ;
  513.                 setitemcolor slot6_glow forecolor    0 0 0 1 ;
  514.             }
  515.  
  516.             action
  517.             {
  518.                 play "sound/misc/menus/select.wav" ; 
  519.             }
  520.         }
  521.  
  522.         itemDef
  523.         {
  524.             rect            385    295    110    70
  525.             forecolor        0 0 0 1
  526.             visible            1
  527.             ownerdraw        UI_OUTFITTING_SLOT_BACKGROUND
  528.             ownerdrawparam    OUTFITTING_GROUP_ACCESSORY
  529.             decoration
  530.         }
  531.  
  532.         itemDef
  533.         {
  534.             rect            385 295 110 55
  535.             ownerdraw        UI_OUTFITTING_SLOT_RENDER
  536.             ownerdrawparam    OUTFITTING_GROUP_ACCESSORY
  537.             forecolor        1 1 1 1
  538.             visible            1
  539.             decoration
  540.         }
  541.  
  542.         itemDef
  543.         {
  544.             name            slot5_text
  545.             rect            492 354 0 15
  546.             ownerdraw        UI_OUTFITTING_SLOT_NAME
  547.             ownerdrawparam    OUTFITTING_GROUP_ACCESSORY
  548.             forecolor        .7 .7 .7 1
  549.             textalign        2
  550.             textfont        "hud"
  551.             textscale        .35
  552.             visible            1
  553.             decoration
  554.         }
  555.  
  556.         ///////////////////////////////////////////////////////////////////////
  557.         // HELP TEXT
  558.         ///////////////////////////////////////////////////////////////////////
  559.         itemDef
  560.         {
  561.             rect                150 110 340 12
  562.             text                "Select your outfitting by choosing one of default outfittings or"
  563.             textfont            "hud"
  564.             textscale            .35
  565.             forecolor            0 0 0 1
  566.             visible                1
  567.             decoration
  568.         }
  569.  
  570.         itemDef
  571.         {
  572.             rect                150 122 340 12
  573.             text                "customizing your own by selecting the weapon you want to change."
  574.             textfont            "hud"
  575.             textscale            .35
  576.             forecolor            0 0 0 1
  577.             visible                1
  578.             decoration
  579.         }
  580.  
  581.         ///////////////////////////////////////////////////////////////////////
  582.         // TEMPLATE SELECTION
  583.         ///////////////////////////////////////////////////////////////////////
  584.         itemDef
  585.         {
  586.             name                window
  587.             rect                180 150 100 20
  588.             text                "Outfitting:"
  589.             textfont            "hud"
  590.             textscale            .5
  591.             visible                1
  592.             forecolor            0 0 0 1
  593.             decoration
  594.         }
  595.  
  596.         itemDef
  597.         {
  598.             name                template
  599.             style                WINDOW_STYLE_FILLED
  600.             type                ITEM_TYPE_COMBOBOX
  601.             feeder                FEEDER_OUTFITTING_TEMPLATES
  602.             cvar                "ui_info_template"
  603.             visible                1
  604.  
  605.             background            "gfx/menus/ingame/background.png"
  606.  
  607.             rect                260 147 201 200
  608.  
  609.             textfont            "hud"
  610.             textscale            .43
  611.  
  612.             textaligny            -16
  613.  
  614.             forecolor            0 0 0 1
  615.  
  616.             elementheight        20
  617.  
  618.             border                1
  619.             bordercolor            0 0 0 1
  620.  
  621.             backcolor            1 1 1 1 // .49 .56 .27 1
  622.  
  623.             outlinecolor        0 0 0 .25
  624.             
  625.             action
  626.             {
  627.                 play "sound/misc/menus/select.wav" ; 
  628.             }
  629.         }
  630.  
  631.         itemDef 
  632.         {
  633.             name        ok_button
  634.             text        "OK"
  635.             type        1
  636.             textfont            "hud"
  637.             textscale            .43
  638.             type        ITEM_TYPE_BUTTON
  639.             style        WINDOW_STYLE_FILLED
  640.             rect        240 380 65 26
  641.             textalignx    24
  642.             textaligny    7
  643.             forecolor    0 0 0 1
  644.             backcolor    0 0 0 0
  645.             border        1
  646.             bordercolor    0 0 0 1
  647.             visible        1
  648.             
  649.             action 
  650.             { 
  651.                 play        "sound/misc/menus/select.wav" ; 
  652.                 uiScript    "CompressOutfitting";
  653.                 close        "ingame_outfitting";
  654.             }
  655.             mouseEnter 
  656.             { 
  657.                 play "sound/misc/menus/hilite1.wav" ; 
  658.                 setitemcolor ok_button backcolor .12 .14 .08 1
  659.                 setitemcolor ok_button forecolor .49 .56 .27 1
  660.             }                 
  661.             mouseExit 
  662.             { 
  663.                 setitemcolor ok_button backcolor 0 0 0 0
  664.                 setitemcolor ok_button forecolor 0 0 0 1
  665.             }
  666.         }
  667.  
  668.         itemDef 
  669.         {
  670.             name        cancel_button
  671.             text        "Cancel"
  672.             type        1
  673.             textfont            "hud"
  674.             textscale            .43
  675.             type        ITEM_TYPE_BUTTON
  676.             style        WINDOW_STYLE_FILLED
  677.             rect        335 380 65 26
  678.             textalignx    12
  679.             textaligny    7
  680.             forecolor    0 0 0 1
  681.             backcolor    0 0 0 0
  682.             border        1
  683.             bordercolor    0 0 0 1
  684.             visible        1
  685.             
  686.             action 
  687.             { 
  688.                 play        "sound/misc/menus/select.wav" ; 
  689.                 close        "ingame_outfitting";
  690.             }
  691.             mouseEnter 
  692.             { 
  693.                 play "sound/misc/menus/hilite1.wav" ; 
  694.                 setitemcolor cancel_button backcolor .12 .14 .08 1
  695.                 setitemcolor cancel_button forecolor .49 .56 .27 1
  696.             }                 
  697.             mouseExit 
  698.             { 
  699.                 setitemcolor cancel_button backcolor 0 0 0 0
  700.                 setitemcolor cancel_button forecolor 0 0 0 1
  701.             }
  702.         }
  703.     }
  704. }